import request from '@/utils/request';
import { stringify } from 'qs';
export default {
    Messages(payload) {
        return request({
            url: `/api/mes/Messages?${stringify(payload)}`,
            method: 'get'
        })
    },
    deletemoreMessage(payload) {
        return request({
            url: `/api/mes/deletemoreMessage?message_idList=${payload}`,
            method: 'delete'
        })
    },
    setMoreMessageRead(payload) {
        return request({
            url: `/api/mes/setMoreMessageRead?message_idList=${payload}`,
            method: 'put'
        })
    },
    Evaluations(payload) {
        return request({
            url: `/api/eva/Evaluations?${stringify(payload)}`,
            method: 'get'
        })
    },
}